package com.yic.module.device.convert.inspectionPlan;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import com.yic.module.device.controller.admin.device.vo.DeviceSimpleRespVO;
import com.yic.module.device.dal.dataobject.device.DeviceDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.device.controller.admin.inspectionPlan.vo.*;
import com.yic.module.device.dal.dataobject.inspectionPlan.InspectionPlanDO;

/**
 * 巡检计划 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface InspectionPlanConvert {

    InspectionPlanConvert INSTANCE = Mappers.getMapper(InspectionPlanConvert.class);

    InspectionPlanDO convert(InspectionPlanCreateReqVO bean);

    InspectionPlanDO convert(InspectionPlanUpdateReqVO bean);

    InspectionPlanRespVO convert(InspectionPlanDO bean);

    List<InspectionPlanRespVO> convertList(List<InspectionPlanDO> list);

    PageResult<InspectionPlanRespVO> convertPage(PageResult<InspectionPlanDO> page);

    List<InspectionPlanExcelVO> convertList02(List<InspectionPlanDO> list);

    List<DeviceSimpleRespVO> convert03(List<DeviceDO> deviceDOList);
}
